package Grantsfire::Schema::Feed::Validator::Exceptions;
use strict;
use warnings;

package Grantsfire::Schema::Feed::Validator::Exceptions::Empty;
use base 'Error';
sub new { shift->SUPER::new(@_, -text => "Empty URI") }

package Grantsfire::Schema::Feed::Validator::Exceptions::Malformed;
use base 'Error';
sub new { shift->SUPER::new(@_, -text => "Malformed URI") }

package Grantsfire::Schema::Feed::Validator::Exceptions::NotFound;
use base 'Error';
sub new { shift->SUPER::new(@_, -text => "URI Not Found: " . ({@_}->{'-text'} || 'No reason given')) }

1;
